package org.tong.account;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author
 * @date 2022-12-21 16:48
 */
public interface AccountServiceI {

    @RequestMapping("/account/addAccount")
    void addAccount(@RequestParam(name = "id") Long id, @RequestParam(name = "name") String name);

    @RequestMapping("/account/addAmount")
    void addAmount(@RequestParam(name = "id") Long id, @RequestParam(name = "amount") Long amount);
}
